﻿<div class="infoBlock">
<div class="infoBlockHeading"><span class="t">Add Item</span></div>
<div class="infoBlockContent">

<div class="infoBlockItem">
<form name="itemform" method="post">
<input type="hidden" name="action" value="add">
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="editBox listBox">
  <tr>
    <td width="100" align="right" valign="top"><label class="fb">Name</label>: </td>
    <td>{pp_inputtext name="field_name" value=$CONTENT.item.name class="inputText2" require="true"}</td>
    <td></td>
  </tr>
  <tr>
    <td align="right" valign="top"><label class="fb">Category</label>: </td>
    <td>{pp_inputoptions name="field_cid" options=$CONTENT.categories_options selected=$CONTENT.item.cid style="Default"}
    <a href="{$CONTEXT.APPURL}category">Edit</a>
    </td>
    <td></td>
  </tr>  
  <tr>
    <td align="right" valign="top"><label class="fb">Upload</label>: </td>
    <td><script type="text/javascript" language="javascript">puploadinit('item');</script></td>
    <td></td>
  </tr>
  <tr>
    <td align="right" valign="top"><label class="fb">Description</label>: </td>
    <td>{pp_inputtextarea name="field_description" value=$CONTENT.item.description cols="40" rows="4" require="true"}</td>
    <td></td>
  </tr>
  <tr>
    <td align="right" valign="top"><label class="fb">Sort Order</label>: </td>
    <td>{pp_inputtext name="field_sort_order" value=$CONTENT.item.sort_order class="inputText1"}</td>
    <td></td>
  </tr>
  <tr>
    <td align="right" valign="top"><label class="fb">Status</label>: </td>
    <td>{pp_inputoptions name="field_status" options="[Yes=1|No=0]" selected=$CONTENT.item.status class="inputText1"}</td>
    <td></td>
  </tr>
  <tr>
    <td align="right" valign="top"></td>
    <td><input type="submit" name="submitbtn" value="Submit"></td>
    <td></td>
  </tr>
</table>
</form>
</div>

</div>
</div>